//
// File: textcomp.cpp
// Description: 
// Author: Adam Damiano
// Author: Leaf Corcoran
//

#include "textcomp.h"
#include "guiclass.h"


string TextComponent::symbols = "1234567890[];',./\\`-=";
string TextComponent::shiftSymbols = "!@#$%^&*(){}:\"<>?|~_+";

TextComponent::TextComponent( Component* parent ) :
	Component( parent )
	{
		buffer = "";
		cursor = 0;
		highlight = 0;
		scroll = 0;
		widthInPixels = 0;
		totalWidth = 0;
		setWidth( 300 );
	}
